//
// Surface.hh for surface math in /home/druart_p/Work/math/my-math-epi/203
//
// Made by pierrick druart
// Login   <druart_p@epitech.net>
//
// Started on  Tue Mar 20 09:18:15 2012 pierrick druart
// Last update Fri Mar 30 10:18:46 2012 pierrick druart
//

#ifndef		__SURFACE_HH__
#define		__SURFACE_HH__

#include	<iostream>
#include	<sstream>
#include	<string>
// #include	<QApplication>
// #include	<QProcess>
// #include	<QWidget>
// #include	<QPainter>
#include	<list>

#define		LENGTH 950
#define		HEIGTH 550

class Surface : public QWidget
{
private:
  int		length;
  int		heigth;
  char		*echelle;
  char		**av;
  std::list<double> _list;
  std::list<double> _list2;

public:
  Surface(char **av, std::list<double> list);
  Surface(char **av, char *str, std::list<double> list, std::list<double> list2);
  virtual ~Surface();

protected:
  void		paintEvent(QPaintEvent *event);
  void		line(QPainter *painter, int opt);
};

#endif		/*__Surface_HH__*/
